package com.bulletelc.apollopre.module.main.center.intention.list;

import com.bulletelc.apollopre.entity.IntentionBean;
import com.bulletelc.apollopre.framework.IPresenter;
import com.bulletelc.apollopre.framework.IView;

import java.util.List;

/**
 * Created by Administrator on 2018/5/16.
 */

public interface IntentionListContract {

    interface View extends IView {
        void onSuccessIntentionList(List<IntentionBean> intentionBeanList);
        void onErrorIntentionList(String error);
        void onFailIntentionList(String fail);
    }

    interface Presenter extends IPresenter<View> {
        void getIntentionList();
    }
}
